Skip to content

fix(release): 修掉 issuer secret 名 + 加工作流凭据守卫 - #362

Merged
wangzhizhou merged 1 commit into
mainfrom
dev
Nov 23, 2026
Merged

wangzhizhou merged 1 commit into
mainfrom
dev

Conversation

@wangzhizhou

Copy link
Copy Markdown
Contributor

上一个 commit 在签名步骤把 ASC_API_ISSUER_ID 绑到了不存在的 secrets.APPLE_ASC_API_ISSUER_ID,ci-sign.sh 直接以「缺少 CI 配置」退出,v1.4.2 的 release 卡在签名前(未产生 Release)。

  • 修正为 secrets.APPLE_ASC_ISSUER_ID;
  • test-ci-sign.py 新增静态守卫:每个真正执行 ci-sign.sh 的步骤,7 个凭据必须绑到确切的 secret/vars 名(只查键名存在拦不住这种错)。守卫已用变异测试验证会红。

The new signing step bound ASC_API_ISSUER_ID to
secrets.APPLE_ASC_API_ISSUER_ID, which does not exist, so ci-sign.sh
aborted with 缺少 CI 配置 and the v1.4.2 release stopped before the
installer was signed.

Add a static guard: every workflow step that runs ci-sign.sh must bind the
seven credentials to their exact secret/variable names, so a typo in the
*value* (not just the key) fails offline instead of at release time.

Signed-off-by: wangzhizhou <[email protected]>
@wangzhizhou
wangzhizhou merged commit 4029184 into main Nov 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant